package net.oschina.jhssm.module.system.service;

import net.oschina.jhssm.common.service.IBaseService;
import net.oschina.jhssm.module.system.entity.SysUser;

import java.util.Set;

/**
 * Created by zhaojb on 2017/8/19.
 */
public interface ISysUserService extends IBaseService<SysUser> {

    SysUser findUserByUsername(String username);

    Set<String> findRolesByUsername(String username);

    Set<String> findPermissionsByUsername(String username);
}
